Skip to contentSkip to conversation

Major performance regression for AMD card

Bug 101198 [email protected] 1 participant 8 messages May 26, 2017

lore
Share & tools
lore

[email protected]

author Reviewed-by Christian König
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101198

Bug ID: 101198
Summary: Major performance regression for AMD card
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

With the latest git mesa, there are major performance drops. First noticed the issue with the 32bit steam game "Move or die", but it seems to affect the whole system. It basically makes the game unplayable.

Bisecting pointed me to the following commit:

commit 524d4fff9e0e58e812e71bc5ba2c92ffa73bee16

Author: Leo Liu <[email protected]>
Date:   Wed May 3 14:06:35 2017 -0400

amd/common: add vcn dec ip info query

I tried reverting it, but it doesn't apply cleanly.

Running Arch Linux 64
Linux 4.11.2

System the issue was tested on:
- Arch Linux 64bit
- Linux 4.11.2, AMDGPU driver
- Radeon R9 285

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101198

Fabian Maurer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bisected, regression

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101198

--- Comment #1 from Fabian Maurer <[email protected]> ---
Just noticed, this seems to be reverted already during the time I need to setup and bisect mesa.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101198

--- Comment #2 from Dieter Nützel <[email protected]> --- Hi Fabian,

David reverted it and Leo Liu sent an update just in time:
Please try with this one:
https://lists.freedesktop.org/archives/mesa-dev/2017-May/156930.html

Dicussion was here:
https://lists.freedesktop.org/archives/mesa-dev/2017-May/156907.html
https://lists.freedesktop.org/archives/mesa-dev/2017-May/156931.html

Cheers,
Dieter

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101198

--- Comment #3 from Kai <[email protected]> --- (In reply to Fabian Maurer from comment #0)

Quoted 1 line

With the latest git mesa, [...]

Can't be the latest, since the commit you've identified is already reverted:
<https://cgit.freedesktop.org/mesa/mesa/commit/?id=e1409f730251bf9d7e70046f58392de6e4e98815>.
I find it helpful giving exact commit IDs of the builds I'm using (or the version number, whatever is more accurate). Otherwise bug reports don't tend to age well. ;-)

In any case, if you're bisection is correct, you should check a build of current HEAD (e1409f730251bf9d7e70046f58392de6e4e98815) and close this bug if appropriate. Otherwise a new biscetion would be required.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101198

--- Comment #4 from Dieter Nützel <[email protected]> --- (In reply to Dieter Nützel from comment #2)

Quoted 6 lines

Hi Fabian,

David reverted it and Leo Liu sent an update just in time:
Please try with this one:
https://lists.freedesktop.org/archives/mesa-dev/2017-May/156930.html

Quoted 6 lines

Dicussion was here:
https://lists.freedesktop.org/archives/mesa-dev/2017-May/156907.html
https://lists.freedesktop.org/archives/mesa-dev/2017-May/156931.html

Cheers,
Dieter

s/Discussion...

Bonus:
When you've tested it fine, you can send four (first) 'Tested-by:' ;-)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101198

Fabian Maurer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Fabian Maurer <[email protected]> --- Thanks, just tested, it works fine after the commit was reverted. Marking this as resolved.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101198

--- Comment #6 from [email protected] ---
I can reproduce the problem with kernel that has no vcn patch, and the fix sent to mesa-dev list was tested and have issue fixed.

Thanks,
Leo

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel